/**
 * Project Name:dubbox-demo
 * File Name:SerializationOptimizerImpl
 * Package Name:com.fft.dubbox
 * Date:2016/6/2116:22
 * Copyright (c) 2016,  www.shfft.com All Rights Reserved.
 */
package com.fft.dubbox;

import com.alibaba.dubbo.common.serialize.support.SerializationOptimizer;
import com.fft.dubbox.dto.User;

import java.util.Collection;
import java.util.LinkedList;
import java.util.List;

/**
 * ClassName: SerializationOptimizerImpl
 * Reason: 序列化类.
 * date: 2016/6/21 16:22
 *
 * @author libin
 * @since JDK 1.6
 */
public class SerializationOptimizerImpl implements SerializationOptimizer {

    public Collection<Class> getSerializableClasses() {
        List<Class> classes = new LinkedList<Class>();
        classes.add(User.class);
        return classes;
    }

}
